package com.zhongkun.datahome.service.service;

import com.zhongkun.datahome.service.req.cmd.task.TaskCmd;
import com.zhongkun.datahome.service.req.cmd.task.TaskProcessCmd;
import com.zhongkun.datahome.service.req.qry.task.TaskQry;
import com.zhongkun.datahome.service.res.PageVo;
import com.zhongkun.datahome.service.res.task.MyTaskVo;
import com.zhongkun.datahome.service.res.task.TaskVo;

public interface ITaskService {
    PageVo<TaskVo> page(TaskQry qry);

    TaskVo getInfo(Long id);

    Long add(TaskCmd cmd);

    void remove(Long id);

    Long process(TaskProcessCmd cmd);

    MyTaskVo myTask(Long tenantUserId, boolean employeeFlag);

    Long queryReceiveTaskCount(Long tenantUserId);
}